@extends('Admin.layout.layout')
@section('title','修改药材信息')
@section('url','/admin/book/')
@section('home','药材详情管理')
@section('weizhi','修改药材信息')
@section('con')

<div class="panel-body">
  <div class="form">
      <form class="form-validate form-horizontal" id="feedback_form" method="post" action="{{url('/admin/varieties/update')}}" novalidate="novalidate">
          <input type="hidden" name='id' value="{{$varieties -> id}}">
          <div class="form-group ">
              <label for="cname" class="control-label col-lg-2">药材名称<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                  <input class="form-control" id="cname" name="mName" minlength="5" type="text" value="{{$varieties -> mName}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="cemail" class="control-label col-lg-2">出处<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                  <input class="form-control " id="cemail" type="email" name="where" value="{{$varieties -> where}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="curl" class="control-label col-lg-2">拼音名<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                  <input class="form-control " id="curl" type="url" name="pinyin" value="{{$varieties -> pinyin}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="cname" class="control-label col-lg-2">英文名 <span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                  <input class="form-control" id="subject" name="eName" minlength="5" type="text" value="{{$varieties -> aliasName}}">
              </div>
          </div>                                      
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">别名<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="aliasName" minlength="5" type="text" value="{{$varieties -> mName}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">来源<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="source" minlength="5" type="text" value="{{$varieties -> source}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">原形态<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="original" minlength="5" type="text" value="{{$varieties -> original}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">生境分布<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="habitat" minlength="5" type="text" value="{{$varieties -> habitat}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">栽培<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="cultivate" minlength="5" type="text" value="{{$varieties -> cultivate}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">性状<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="character" minlength="5" type="text" value="{{$varieties -> character}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">化学成分<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="chemical" minlength="5" type="text" value="{{$varieties -> chemical}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">作用<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="effect" minlength="5" type="text" value="{{$varieties -> effect}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">毒性<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="toxicity" minlength="5" type="text" value="{{$varieties -> toxicity}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">鉴别<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="identify" minlength="5" type="text" value="{{$varieties -> identify}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">炮制<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="processing" minlength="5" type="text" value="{{$varieties -> processing}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">性味<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="taste" minlength="5" type="text" value="{{$varieties -> taste}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">归经<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="meridian" minlength="5" type="text" value="{{$varieties -> meridian}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">功效<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="power" minlength="5" type="text" value="{{$varieties -> power}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">用法用量<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="dosage" minlength="5" type="text" value="{{$varieties -> dosage}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">注意<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="mind" minlength="5" type="text" value="{{$varieties -> mind}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">附方<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="attached" minlength="5" type="text" value="{{$varieties -> attached}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">名家论述<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="exposition" minlength="5" type="text" value="{{$varieties -> exposition}}">
              </div>
          </div>
          <div class="form-group ">
              <label for="ccomment" class="control-label col-lg-2">摘录出处<span class="required">*</span></label>
              <div class="col-lg-10" style="width: 300px;">
                   <input class="form-control" id="subject" name="from" minlength="5" type="text" value="{{$varieties -> from}}">
              </div>
          </div>
          {{csrf_field()}}
          <div class="form-group">
              <div class="col-lg-offset-2 col-lg-10">
                  <button class="btn btn-primary" type="submit">提交</button>
                  <button class="btn btn-default" type="button">取消</button>
              </div>
          </div>
      </form>
  </div>

</div>



@endsection